#pragma once


// CSerialAdd dialog

class CSerialAdd : public CDialogEx
{
	DECLARE_DYNAMIC(CSerialAdd)

public:
	CSerialAdd(CWnd* pParent = NULL);   // standard constructor
	virtual ~CSerialAdd();

// Dialog Data
	enum { IDD = IDD_SERIAL_ADD };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()

public:
  tstring Name(void) { return name_.GetBuffer(0); }
  tstring device(void) { return device_.GetBuffer(0); }

private:
  CString name_;
  CString device_;
};
